home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.5 Complementary Applications 2004 May / SGI IRIX 6.5 Complementary Applications 2004 May.iso / dist / OpenOffice.idb / usr / OpenOffice / help / en / scalc.jar / text / scalc / guide / goalseek.xml < prev    next >
Encoding:
Extensible Markup Language  |  2002-01-24  |  6.4 KB  |  91 lines

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <html><head><title>Applying Goal Seek</title><meta name="filename" content="text/scalc/guide/goalseek"/><meta name="language" content="en-US"/><help:css-file-link xmlns:help="http://openoffice.org/2000/help"/><!--The CSS style header method for setting styles--><style type="text/css">
  3.  
  4.         table.Tabelle1{
  5.                 }
  6.         span.Tabelle1A{
  7.                 width:1.499cm;}
  8.         span.Tabelle1B{
  9.                 width:16.498cm;}
  10.         tr.Tabelle11{
  11.                 }
  12.         td.Tabelle1A1{
  13.                 }
  14.         table.Tabelle2{
  15.                 }
  16.         span.Tabelle2A{
  17.                 width:18cm;}
  18.         td.Tabelle2A1{
  19.                 }
  20.         p.P1{
  21.                 }
  22.         p.P2{
  23.                 }
  24.         p.P3{
  25.                 }
  26.         span.T1{
  27.                 font-weight:bold;}
  28.         span.fr1{
  29.                 }
  30.         span.fr2{
  31.                 }
  32.         </style></head><body>
  33.    
  34.    
  35.    <p class="P1"/>
  36.    <p class="Head1"><help:key-word value="goal seek" tag="kw68143_1" xmlns:help="http://openoffice.org/2000/help"/><help:to-be-embedded Eid="goalseek" xmlns:help="http://openoffice.org/2000/help"><help:link Id="68143">Applying Goal Seek</help:link></help:to-be-embedded></p>
  37.    <p class="Paragraph">With the help of Goal Seek you can calculate a value that, as part of a formula, leads to the result you specify for the formula. You thus define the formula with several fixed values and one variable value and the result of the formula.</p>
  38.    <p class="Paragraph">Goal Seek is best illustrated by means of an example.</p>
  39.    <p class="Paragraph"><help:key-word value="interest computation; example" tag="kw68143_2" xmlns:help="http://openoffice.org/2000/help"/>To calculate annual interest, create a table with the values for the capital (C), number of years (n), and interest rate (i). The formula is:</p>
  40.    <p class="Paragraph">I = C * n* i / 100</p>
  41.    <table><tr class="Tabelle11"><th class="Tabelle1A1" style="text-align:left;"><span class="Tabelle1A">
  42.        <p class="Paragraph"><draw:image draw:style-name="fr1" draw:name="HIND_1" text:anchor-type="paragraph" svg:width="0.847cm" svg:height="0.847cm" draw:z-index="1" xlink:href="65980" xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad" draw:filter-name="GIF - Graphics Interchange" xmlns:draw="http://openoffice.org/2000/drawing" xmlns:text="http://openoffice.org/2000/text" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"/></p>
  43.       </span></th><th class="Tabelle1A1" style="text-align:left;"><span class="Tabelle1B">
  44.        <p class="Paragraph">You can also enter the formula using the variable names: Interest = Capital * Year * Interest rate / 100.</p>
  45.       </span></th></tr></table>
  46.    <p class="Paragraph"/>
  47.    <table><tr class=""><th class="Tabelle2A1" style="text-align:left;"><span class="Tabelle2A">
  48.        <p class="TextInTable"><draw:image draw:style-name="fr2" draw:name="Grafik1" text:anchor-type="paragraph" svg:width="12.801cm" svg:height="2.655cm" draw:z-index="0" xlink:href="67279" xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad" draw:filter-name="GIF - Graphics Interchange" xmlns:draw="http://openoffice.org/2000/drawing" xmlns:text="http://openoffice.org/2000/text" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"/></p>
  49.       </span></th></tr></table>
  50.    <p class="Paragraph">In this example, the investment capital of $150,000 and an interest rate of 7.5% is calculated to result in annual interest income of $11,250. (The cells are formatted after calculation: A5 and E5 as currency, and C5 as percent. The cell width is adjusted automatically.)</p>
  51.    <p class="Paragraph">We recommend that you assign names to cells so that you can use these names in the formula.</p>
  52.    <p class="Head2">Naming Cells</p>
  53.    <ol class="L1">
  54.     <li class="">
  55.      <p class="P2">Select cell A5 in our example, then choose <span class="T1">Insert - Names - Define</span>. The <span class="T1">Define Names</span> dialog appears.</p>
  56.     </li>
  57.     <li class="">
  58.      <p class="P2">Enter the name "C" in the text field. <text:s text:c="" xmlns:text="http://openoffice.org/2000/text"/>At the bottom of the dialog, you will see the reference: $Sheet1.$A$5. Double-check for accuracy, then click <span class="T1">Add</span>.</p>
  59.     </li>
  60.     <li class="">
  61.      <p class="P2">In the next field, enter an "i," <text:s text:c="" xmlns:text="http://openoffice.org/2000/text"/>place the cursor in cell B5, and again click <span class="T1">Add</span>.</p>
  62.     </li>
  63.     <li class="">
  64.      <p class="P2">Next, enter an "n" in the empty field, place the cursor in cell C5, and click once more on <span class="T1"><text:s text:c="" xmlns:text="http://openoffice.org/2000/text"/>Add</span>. Close the dialog with OK.</p>
  65.     </li>
  66.     <li class="">
  67.      <p class="P2">You can now enter the formula in E5 using the variables = C*n*i instead of <text:s text:c="" xmlns:text="http://openoffice.org/2000/text"/>= A5*B5*C5.</p>
  68.     </li>
  69.    </ol>
  70.    <p class="Head2">Start Goal Seek</p>
  71.    <p class="Paragraph">Let us assume that the interest rate (7.5%) and the number of years (1) will remain constant. However, you may want to know how much the investment would have to be modified in order to attain a particular annual return. For this example, calculate how much capital would be required if you want an annual return of $15,000.</p>
  72.    <ol class="L2">
  73.     <li class="">
  74.      <p class="P3">Place the cursor in cell E5, and choose <span class="T1">Tools - Goal Seek</span>. The <span class="T1">Goal Seek</span> dialog appears.</p>
  75.     </li>
  76.     <li class="">
  77.      <p class="P3">The correct cell is already entered in the field <span class="T1">Formula Cell</span>.</p>
  78.     </li>
  79.     <li class="">
  80.      <p class="P3">Place the cursor in the field <span class="T1">Variable Cell</span>. In the sheet, click in the cell (A5) that contains the value to be changed.</p>
  81.     </li>
  82.     <li class="">
  83.      <p class="P3">Enter the expected result of the formula (i.e., the desired value) under <span class="T1">Target Value</span>. In this example, the value is 15,000. Click <span class="T1">OK</span>.</p>
  84.     </li>
  85.     <li class="">
  86.      <p class="P3">A dialog appears informing you that the Goal Seek was successful. The result is indicated for you to use if you want to. Click <span class="T1">Yes</span> to enter the result in cell A5.</p>
  87.     </li>
  88.    </ol>
  89.    <p class="ParaList"><help:embedded Id="65598" Eid="related" xmlns:help="http://openoffice.org/2000/help"/></p>
  90.    <p class="ParaList"><help:link Id="66867" xmlns:help="http://openoffice.org/2000/help">Goal Seek</help:link></p>
  91.   </body></html>